home *** CD-ROM | disk | FTP | other *** search
- package com.extensibility.xa;
-
- import com.extensibility.xml.dt.DataType;
- import com.extensibility.xml.dt.DataTypeEnumeration;
- import java.util.Enumeration;
-
- class CMQDataSource$2 implements Enumeration {
- // $FF: synthetic field
- final CMQDataSource this$0;
- final DataTypeEnumeration types;
- final Enumeration notas;
-
- public boolean hasMoreElements() {
- return this.types.hasMoreElements() || this.notas.hasMoreElements();
- }
-
- public Object nextElement() {
- return this.types.hasMoreElements() ? this.this$0.doc.getSchema().getDataTypeDisplay((DataType)this.types.nextElement()) : this.notas.nextElement();
- }
-
- CMQDataSource$2(CMQDataSource var1) {
- this.this$0 = var1;
- this.types = this.this$0.doc.getSchema().getAllTypes();
- this.notas = this.this$0.doc.getDeclNames(Class.forName("com.extensibility.xml.NotationDeclaration"), true);
- }
- }
-